extend ../layout

block content
	.container
		.row
			each item in movies
				.col-md-2
					.thumbnail
						//- #(href="/movie/#{item._id}")
						img(src="#{item.poster}", alt="#{item.title}")
						.caption
							h3 #{title}
							p: a.btn.btn_primary(href="/movie/#{item._id}", role="button")
								观看预告片